package com.richinfo.zipkin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.sleuth.zipkin.stream.EnableZipkinStreamServer;

import zipkin.server.internal.EnableZipkinServer;

/**
* Created by WangXJ
* 2018-12-04 14:24
*/
@EnableZipkinStreamServer
@SpringBootApplication
public class ZipkinApplication {

	private static Logger logger = LoggerFactory.getLogger(ZipkinApplication.class);
	
	public static void main(String[] args) {

		SpringApplication.run(ZipkinApplication.class, args);
		
		logger.info("====== ZIPKIN SERVER START ======");
	}

}
